import request from '@/config/axios'

// 获得职能列表
export const GetOrgList = async () => {
  return await request.get({ url: '/system/org/get-org-list' })
}

// 获得职级列表
export const GetLevelList = async (org = '') => {
  return await request.get({ url: '/system/org/get-level-list?org=' + org })
}

// 获取菜单精简信息列表
export const orgListAllSimple = async () => {
  return await request.get({ url: '/system/org/list-all-simple' })
}
